package com.junit;

import org.junit.Test;

import com.xpgk.mvc.codeSet.Code;
import com.xpgk.tools.ToolRandoms;

public class TestCode extends TestBase {

	@Test
	public void addCode() {
		try {
			Code code = new Code();
			code.set("name", "系统参数");
			String ids = ToolRandoms.getUuid(true);
			code.save(ids);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
